<template>
  <section id="personalCenter">
    <V-CommonHeaderLeft>
      <div class="personalCont">
        <div class="personalNav">
          <router-link to="/index">首页</router-link>
          <span>&nbsp;&nbsp;/&nbsp;&nbsp;</span>
          <router-link to="/personalCenter">个人中心</router-link>
        </div>
        <div class="personalContMain">
          <div class="personalHeader">
            <p>个人中心</p>
            <span @click="$router.push({path:'/editorPersonalCenter'})">
              <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-test141"></use>
              </svg>
              &nbsp; 编辑
            </span>
          </div>
          <div class="personalContMainer">
            <div class="mainerHeade">
              <i></i>
              <span>基本信息</span>
            </div>
            <el-row :gutter="20">
              <el-col :span="12">
                <div class="grid-content bg-purple">
                  <div>
                    <ul class="mainerHeadeUl">
                      <li>
                        <div>
                          <p>员工姓名</p>
                          <span>陈素然</span>
                        </div>
                      </li>
                      <li>
                        <div>
                          <p>职位</p>
                          <span>前端高级架构师</span>
                        </div>
                      </li>
                      <li>
                        <div>
                          <p>Email</p>
                          <span>1578502856@qq.com</span>
                        </div>
                      </li>
                      <li>
                        <div>
                          <p>手机号码</p>
                          <span>15154999638</span>
                        </div>
                      </li>
                      <li>
                        <div>
                          <p>QQ</p>
                          <span>1575525596</span>
                        </div>
                      </li>
                    </ul>
                  </div>
                </div>
              </el-col>
              <el-col :span="12">
                <div class="grid-content bg-purple">
                  <div>
                    <ul class="mainerHeadeUl">
                      <li>
                        <div>
                          <p>编号</p>
                          <span>A0025896325sX</span>
                        </div>
                      </li>
                      <li>
                        <div>
                          <p>部门</p>
                          <span>前端高级架构师终端部</span>
                        </div>
                      </li>
                      <li class="userImgS">
                        <div>
                          <p>头像</p>
                          <img
                            src="../../../../static/images/o_1bkot63pb1tdj1jt01hf01ie7d2m7.png"
                            alt
                            srcset
                          >
                        </div>
                      </li>
                    </ul>
                  </div>
                </div>
              </el-col>
            </el-row>
            <div class="mainerHeade">
              <i></i>
              <span>员工账户</span>
            </div>
            <el-row :gutter="20">
              <el-col :span="12">
                <div class="grid-content bg-purple">
                  <div>
                    <ul class="mainerHeadeUl">
                      <li>
                        <div>
                          <p>账号</p>
                          <span>1515388963</span>
                        </div>
                      </li>
                      <li>
                        <div>
                          <p>密码</p>
                          <span>······</span>
                          <p class="editMm" @click="$router.push({path:'/changePwd'})">修改密码</p>
                        </div>
                      </li>
                    </ul>
                  </div>
                </div>
              </el-col>
              <el-col :span="12">
                <div class="grid-content bg-purple">
                  <div>
                    <ul class="mainerHeadeUl">
                      <li>
                        <div>
                          <p>绑定手机号</p>
                          <span>1258963258</span>
                        </div>
                      </li>
                    </ul>
                  </div>
                </div>
              </el-col>
            </el-row>
          </div>
        </div>
      </div>
    </V-CommonHeaderLeft>
  </section>
</template>

<script>
import VCommonHeaderLeft from '@/components/common/vCommonHeaderLeft/VCommonHeaderLeft'
export default {
  components: {
    VCommonHeaderLeft
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.personalCont {
  width: 100%;
  padding: 0 10px 10px 0;
}
.personalNav {
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.personalCont > div {
  color: #333333;
  font-size: 14px;
}
.personalContMain {
  width: 100%;
  height: calc(100vh - 120px);
  background-color: #ffffff;
}
.personalHeader {
  width: 100%;
  height: 50px;
  border-bottom: 1px solid #e3e3e3;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.personalHeader > p {
  margin-left: 30px;
  width: 90px;
  height: 47px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #20ade5;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 3px solid #20ade5;
}
.personalHeader > span {
  margin-right: 30px;
  width: 100%;
  color: #20ade5;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}
.personalHeader > span:hover {
  cursor: pointer;
}

.personalContMainer {
  padding: 0 30px;
  height: calc(100vh - 180px);
  overflow-y: scroll;
}
/*滚动条样式*/
.personalContMainer::-webkit-scrollbar {
  width: 8px;
  /*height: 4px;*/
}
//滚动部分
.personalContMainer::-webkit-scrollbar-thumb {
  // border-radius: 10px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: rgba(195, 195, 195, 1);
}
//总体部分
.personalContMainer::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  background: rgba(195, 195, 195, 0.1);
}
.mainerHeade {
  width: 100%;
  height: 50px;
  border-bottom: 1px solid #e3e3e3;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
}
.mainerHeade > i {
  margin-right: 8px;
  width: 2px;
  height: 16px;
  background: #333333;
}
.mainerHeadeUl {
  padding: 0 30px !important;
}
.mainerHeadeUl > li > div {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.mainerHeadeUl > li {
  height: 50px;
  line-height: 50px;
  list-style-type: disc !important;
  color: #666666;
  border-bottom: 1px solid #f5f5f5;
}
.mainerHeadeUl > li p {
  width: 80px;
}
.mainerHeadeUl > li span {
  margin-left: 120px;
}
.userImgS {
  height: 120px !important;
}
.userImgS > div {
  height: 120px;
}
.userImgS img {
  margin-left: 120px;
  width: 100px;
  height: 100px;
}
.editMm {
  margin-left: 200px;
  color: #20ade5;
}
.editMm:hover {
  cursor: pointer;
}
</style>
